export interface ICurrencyType {
  key: string;
  label: string;
  value: string;
}
export const currencyTypeList: ICurrencyType[] = [
  {
    key: '$',
    label: '$',
    value: '$',
  },
  {
    key: '£',
    label: '£',
    value: '£',
  },
];
export const Currency = (record:string) => {
  let ele:string = ''
  currencyTypeList.map((item: ICurrencyType) => {
    console.log(item.value,record)
    if (record.indexOf(item.value) != -1) {
      ele= item.value;
    }
  });
  return ele
}
